public class Pentagram extends RegularPolygon
{
    public Pentagram(Point[] points)
    {
        super(points);
        this.shape="五角星";
    }

    public Pentagram()
    {
        super();
        this.shape="五角星";
    }

    public Pentagram(Polygon p)
    {
        super(p);
        this.shape="五角星";
    }

//    public String toString()
//    {
//        return "Pentagram{"+
//                "shape='"+shape+'\''+
//                ", point1="+point1+
//                ", super="+super.toString()+
//                '}';
//    }


    public String toString()
    {
        return "new Pentagram("+toStringPoints()+")";
    }
}
